package com.wocharging.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
* 车辆信息
* </p>
* @author yuzhou
* @since 2024-06-179 15:00:10
*/
@Data
@Accessors(chain = true)
@TableName("wo_charge_vehicle")
@ApiModel(value = "WoChargeVehicle对象", description = "车辆信息")
public class WoChargeVehicle implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("运营商id")
    @TableField("operation_id")
    private Long operationId;

    @ApiModelProperty("车队id")
    @TableField("fleet_id")
    private Long fleetId;

    @ApiModelProperty("车牌号")
    @TableField("vehicle_no")
    private String vehicleNo;

    @ApiModelProperty("车辆品牌(数据字典)")
    @TableField("vehicle_brand")
    private String vehicleBrand;

    @ApiModelProperty("车辆类型 (数据字典)")
    @TableField("vehicle_type")
    private String vehicleType;

    @ApiModelProperty("电气标志 (数据字典)")
    @TableField("electric_mark")
    private String electricMark;

    @ApiModelProperty("是否自售1: 自售 2:非自售")
    @TableField("self_flag")
    private Integer selfFlag;

    @ApiModelProperty("行驶证第一页")
    @TableField("vehicle_license_up")
    private String vehicleLicenseUp;

    @ApiModelProperty("行驶证第二页")
    @TableField("vehicle_license_side")
    private String vehicleLicenseSide;

    @ApiModelProperty("状态 0：锁定 1：正常")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("认证标识 1_未认证，2_认证审核中 3_已认证 4_认证失败")
    @TableField("auth_flag")
    private Integer authFlag;

    @ApiModelProperty("是否默认 1: 默认 0: 非默认")
    @TableField("default_flag")
    private Integer defaultFlag;

    @ApiModelProperty("车架号VIN_NO")
    @TableField("vin_no")
    private String vinNo;

    @ApiModelProperty("发动机编号")
    @TableField("engine_no")
    private String engineNo;

    @ApiModelProperty("车辆来源1:沃能充添加的自有车 2:沃能行租赁过来的车")
    @TableField("source_type")
    private Integer sourceType;

    @ApiModelProperty("租赁开始日期")
    @TableField("contract_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractStartTime;

    @ApiModelProperty("租赁结束日期")
    @TableField("contract_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractEndTime;

    @ApiModelProperty("1:可用 0:删除")
    @TableField("flag")
    private Integer flag;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

}
